package com.gxa.meiye.core.pojo.shopManagement;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.ibatis.type.Alias;

/**
 * <p>
 * 美疗项目
 * </p>
 *
 * @author chen
 * @since 2022-07-24
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("t_project")
@ApiModel(value = "Project对象", description = "美疗项目")
@Alias("p")
public class Project implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("项目编码")
    @TableField(value = "project_number")
    private String projectNumber;

    @ApiModelProperty("项目名称")
    @TableField(value = "name")
    private String name;

    @ApiModelProperty("项目简介")
    @TableField(value = "description")
    private String description;

    @ApiModelProperty("项目价格")
    @TableField(value = "price")
    private String price;

    @ApiModelProperty("项目图片")
    @TableField(value = "image")
    private String image;

    @ApiModelProperty("美体师编号")
    @TableField(value = "therapist_id")
    private Integer therapistId;

    @ApiModelProperty("项目时长")
    @TableField(value = "time")
    private String time;

    @ApiModelProperty("门店id")
    @TableField(value = "shop_id")
    private Integer shopId;

    @ApiModelProperty("创建时间")
    @TableField(value = "created_time")
    private LocalDateTime createdTime;

    @ApiModelProperty("项目状态 1表示上架中 2表示未上架 ")
    @TableField(value = "status")
    private Integer projectStatus;

}
